from django.http import HttpResponse
def index(request):
    return HttpResponse("你好，欢迎来到投票页面.")
def detail(request, value):
    return HttpResponse(f"第{value}份投票")